﻿<%@ Page Language="C#" MasterPageFile="~/Common/Master/FrameMain.master" AutoEventWireup="true" Inherits="Contact_Outer_CardList" Title="无标题页" Codebehind="CardList.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="toolbar">
        <ul>
            <li id="liAdd" runat="server">
                <a id="lnkAdd" runat="server" href="javascript:;"><span>
                <b style="background-image:url(../../common/images/common/addnew.gif)">&nbsp;</b><asp:Literal
                    ID="Literal3" runat="server" Text="增加"></asp:Literal></span></a>
            </li>
            <li style="width: 85px;"><a id="lnkDispMode" runat="server" href="javascript:;"><span>
                <b style="background-image: url(../../common/images/common/sort.gif)">&nbsp;</b><asp:Literal
                    ID="Literal1" runat="server" Text="列表显示"></asp:Literal></span></a></li>
            <li style="width: 85px;"><a id="lnkExport" runat="server" href="javascript:;"><span>
                <b style="background-image: url(../../common/images/common/export.gif)">&nbsp;</b><asp:Literal
                    ID="Literal2" runat="server" Text="导出列表"></asp:Literal></span></a></li>            
            <li>
                <asp:Button ID="btnDispMode" runat="server" Text="Button" CssClass="hide" OnClick="btnDispMode_Click" />
                <asp:Button ID="btnExport" CssClass="hide" runat="server" Text="Button" OnClick="btnExport_Click" />
                <asp:Button ID="btnRefresh" CssClass="hide" runat="server" Text="Button" OnClick="btnRefresh_Click" />
            </li>
        </ul>
    </div>
    <div id="head">
        <div class="left">
            <asp:Label ID="lblDirName" runat="server" Text="Label" Font-Bold="True"></asp:Label>&nbsp;<asp:Label
                ID="lblCount" runat="server" Text="Label"></asp:Label></div>
        <div class="right">
            <asp:TextBox ID="txtCondition" runat="server" CssClass="txt_line" Width="80px"></asp:TextBox>
            <asp:LinkButton ID="btnSearch" runat="server" OnClick="btnSearch_Click">快速检索</asp:LinkButton></div>
    </div>
    <div id="content" style="overflow-y: auto;" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" id="lvList">
            <asp:ListView ID="lv" runat="server" GroupItemCount="2" 
                onitemdatabound="lv_ItemDataBound">
                <LayoutTemplate>
                    <tr id="groupPlaceholder" runat="server">
                    </tr>
                </LayoutTemplate>
                <GroupTemplate>
                    <tr>
                        <td id="itemPlaceholder" runat="server">
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </GroupTemplate>
                <ItemTemplate>
                    <td style="width: 50%;">
                        <div class="card">
                            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;background-color: White">
                                <tr style="height: 25px;">
                                    <td style="width: 10px;">
                                    </td>
                                    <td style="width: 80px;">
                                        <asp:Label ID="Label6" runat="server" Text="姓　　名："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:HyperLink ID="lnkName" runat="server" Text='<%# Eval("Name") %>'></asp:HyperLink>&nbsp;<asp:Label ID="Label1" runat="server"
                                                Text='<%# Eval("headship") %>'></asp:Label>
                                    </td>
                                    <td style="width: 20px;">
                                        <asp:CheckBox ID="chkSelect" runat="server" />
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label7" runat="server" Text="公司名称："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("CorpName") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label8" runat="server" Text="联系电话："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("WorkPhone") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label9" runat="server" Text="手　　机："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("Mobile") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label10" runat="server" Text="电子邮件："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label5" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <tr class="empty">
                        <td>
                            没有联系人
                        </td>
                    </tr>
                </EmptyDataTemplate>
            </asp:ListView>
        </table>
    </div>
</asp:Content>
